<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <title>layui</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" th:href="@{/lay/lib/layui-v2.5.5/css/layui.css}" media="all">
    <link rel="stylesheet" th:href="@{/lay/css/public.css}" media="all">
    <link rel="stylesheet" th:href="@{/css/icon-font.css}">
    <style>
        body {
            background-color: #ffffff;
        }
    </style>
</head>
<body>
<div class="layui-form layuimini-form">


    <div class="layui-form-item">
        <label class="layui-form-label required">创建日期</label>
        <div class="layui-input-block">
            <input type="text" name="beginTime"  class="layui-input" id="begin"
                   placeholder="yyyy-MM-dd">
        </div>
    </div>


    <div class="layui-form-item">
        <label class="layui-form-label required">班级名称</label>
        <div id="message1" class="layui-input-block">
            <input type="text" id="className" name="className"
                   lay-verify="required" lay-reqtext="班级名称不能为空" placeholder="请输入班级名称"
                   class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label required">学期</label>
        <div id="semester" class="layui-input-block">
            <select id="semesterName" name="semesterName" lay-verify="required">
                <option  id="sem1">预科</option>
                <option  id="sem2">S1</option>
                <option  id="sem3">S2</option>
                <option  id="sem4">Y2</option>

            </select>
        </div>
    </div>




    <div class="layui-form-item">
        <label class="layui-form-label required">教员</label>
        <div id="teacher" class="layui-input-block">
            <input type="text" id="teacherName" name="teacherName" th:onblur="checkTeacher()"
                   lay-verify="required" placeholder="请输入教员信息"
                   class="layui-input">
        </div>
    </div>


    <div class="layui-form-item">
        <label class="layui-form-label required">班主任</label>
        <div id="lifeTeacher" class="layui-input-block">
            <input type="text" id="lifeTeacherName" name="lifeTeacherName"
                   th:onblur="checkLifeTeacher()" lay-verify="required" lay-reqtext="班主任不能为空" placeholder="请输入班主任名称"
                   class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label required">班规</label>
        <div id="stipulate1" class="layui-input-block">
            <input type="text" id="stipulate" name="stipulate"

                   class="layui-input">
        </div>
    </div>


    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn layui-btn-normal" lay-submit lay-filter="saveBtn">确认保存</button>
        </div>
    </div>
</div>
</div>
<script th:src="@{/lay/lib/jquery-3.4.1/jquery-3.4.1.min.js}"></script>
<script th:src="@{/lay/lib/layui-v2.5.5/layui.js}" charset="utf-8"></script>
<script th:src="@{/js/management/class/addCode.js}"></script>
<script th:src="@{/js/management/class/function.js}"></script>


</body>
</html>